package vip.geeker.iotms.service;

import com.github.pagehelper.PageInfo;
import vip.geeker.iotms.persistance.model.DeviceInfo;

/**
 * @Author zhoup
 * @Date 2020/5/6 9:24 上午
 * @Description 设备服务接口
 * @Email acacio@foxmail.com
 * To change this template use File | Settings | Editor | File and Code Templates.
 **/
public interface IDeviceService {

    PageInfo<DeviceInfo> queryPage(DeviceInfo info);

    DeviceInfo selectDeviceInfoByPrimaryKey(Integer id);

    Boolean updateByPrimaryKeySelective(DeviceInfo info);

    Boolean addDeviceInfo(DeviceInfo record);

    /**
     * 处理从redis中获取的数据
     * @param key 设备编号
     * @param redisValue
     */
    void analysisData(Integer key, String redisValue);

}
